Show Window
AutomatR.Windows.Activities.ShowWindow
The "Show Window" activity in AutomatR for Windows Automation enables the display and focus of a designated window. This activity is useful for bringing attention to a specific application window during an automation workflow.
Properties
Name | Description |
---|---|
Input | |
Process Name | Enter the process name of the window app that needs to be shown. |
Process Title | Enter the process title of the window app that needs to be shown. |
Display Title | Enter the title of the window app that needs to be shown. |
Window | Enter the window variable for the app that needs to be shown. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before starting the "Show Window" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
How to use:
- Drag and drop the "Show Window" activity onto the workflow.
- Configure the properties by providing the process name, process title, display title, or window variable based on the criteria to identify the target window.
- Optionally, configure the Delay property.
- Execute the workflow to display and bring focus to the designated window.
Example: Consider an example where the "Show Window" activity is used to bring focus to a Notepad window:
Show Window:
Process Name: "notepad"
Delay: 2
In this example, the activity brings focus to the Notepad window with a 2-second delay before the operation.